<%--
  Created by IntelliJ IDEA.
  User: 86138
  Date: 2021/7/28
  Time: 14:36
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>火警桌面</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<button onclick="window.history.back();" value="回退">回退</button>
<a href="${pageContext.request.contextPath}/user/userInformation">跳转到查看自己信息的页面</a>
<a href="${pageContext.request.contextPath}/user/tochangePassword">修改密码</a>
<a href="${pageContext.request.contextPath}/uprecord/alluprecord">跳转到查看自己上传物证的的记录</a>
<a href="${pageContext.request.contextPath}/evidence/allevidence">跳转到查看自己上传的物证</a>
<h2>

    <%--    <a href="${pageContext.request.contextPath}/user/alluser">跳转到查看用户的界面</a>
        <a href="${pageContext.request.contextPath}/evidence/allevidence">跳转到查看物证界面</a>
        &lt;%&ndash;    <a href="${pageContext.request.contextPath}/user/login">跳转到审核物证提交申请界面</a>&ndash;%&gt;
        &lt;%&ndash;    <a href="${pageContext.request.contextPath}/user/login">跳转到审核物证申请使用界面</a>&ndash;%&gt;--%>

    <div class="container">

        <div class="row clearfix">
            <div class="col-md-12 column">
                <div class="page-header">
                    <h1>
                        <small>物证表</small>
                    </h1>
                </div>
            </div>
        </div>

        <div class="row">
            <div class="col-md-4 column">

                <a class="btn btn-primary" href="${pageContext.request.contextPath}/uprecord/toadduprecord">增加申请</a>
            </div>
        </div>






        <div class="row clearfix">
            <div class="col-md-12 column">
                <table class="table table-hover table-striped">
                    <thead>
                    <tr>
                        <th>物证ID</th>
                        <th>物证类型</th>
                        <th>物证状态</th>
                        <%--<th>物证上传时间</th>--%>
                    </tr>
                    </thead>

                    <tbody >
                    <c:forEach var="evidence" items="${evidence}">
                        <tr>
                            <td>${evidence.evidenceId}</td>
                            <td>${evidence.evidenceType}</td>
                            <td>${evidence.evidenceState}</td>

                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
            </div>
        </div>
    </div>

</h2>
</body>

